- 
		Home
	
 
	- 
KimaAI | AI Chatbot, ChatGPT content writer and more
 
- 
1.2.9
 
- 
Code
 
- 
Classes
 
-  AiService 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											70 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											4 | 
										
																	
							 
													
								
																			
											| Total lines | 
											578 | 
										
																			
											| Lines of code | 
											339 | 
										
																			
											| Logical lines of code | 
											189 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											163 | 
										
																			
											| Methods | 
											10 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| resolveProviderCredentials() | 
									B  | 
																	37 | 
													16 | 
													77 | 
							
					
				| saveImageResponse() | 
									A  | 
																	42 | 
													12 | 
													51 | 
							
					
				| resolveChatPayload() | 
									A  | 
																	42 | 
													9 | 
													54 | 
							
					
				| run() | 
									A  | 
																	46 | 
													9 | 
													38 | 
							
					
				| singleCall() | 
									S  | 
																	50 | 
													6 | 
													28 | 
							
					
				| saveChatResponse() | 
									S  | 
																	49 | 
													5 | 
													29 | 
							
					
				| formatMessagesForReplicate() | 
									S  | 
																	52 | 
													5 | 
													25 | 
							
					
				| testConnection() | 
									S  | 
																	54 | 
													4 | 
													20 | 
							
					
				| parseResponse() | 
									S  | 
																	63 | 
													3 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	67 | 
													1 | 
													8 |